package com.hnucm.cooklife.contract.realDish;

import com.hnucm.cooklife.base.IBaseView;
import com.hnucm.cooklife.bean.me.DishColl;

import java.util.List;

import io.reactivex.Observable;

public class Contract {
    public interface IRealDishModel{
        Observable<List<DishColl>> loadRealMyDish(int userid);
        Observable<List<DishColl>> refreshRealMyDish(int userid);
    }

    public interface IReadDishView extends IBaseView{
        void onLoadRealMyDish(List<DishColl> dishCollList);
        void onRefreshRealMyDish(List<DishColl> dishCollList);
    }

    public interface IRealDishPresenter{
        void loadRealMyDish(int userid);
        void refreshRealMyDish(int userid);
    }
}
